Optimal. Leaf size=69 \[ \frac{2 \sqrt{\cos (c+d x)} \text{EllipticF}\left (\frac{1}{2} (c+d x),2\right ) \sqrt{b \sec (c+d x)}}{3 d}+\frac{2 \sin (c+d x) (b \sec (c+d x))^{3/2}}{3 b d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0420639, antiderivative size = 69, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.19, Rules used = {16, 3768, 3771, 2641} \[ \frac{2 \sin (c+d x) (b \sec (c+d x))^{3/2}}{3 b d}+\frac{2 \sqrt{\cos (c+d x)} F\left (\left .\frac{1}{2} (c+d x)\right |2\right ) \sqrt{b \sec (c+d x)}}{3 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 16
Rule 3768
Rule 3771
Rule 2641
Rubi steps
\begin{align*} \int \sec ^2(c+d x) \sqrt{b \sec (c+d x)} \, dx &=\frac{\int (b \sec (c+d x))^{5/2} \, dx}{b^2}\\ &=\frac{2 (b \sec (c+d x))^{3/2} \sin (c+d x)}{3 b d}+\frac{1}{3} \int \sqrt{b \sec (c+d x)} \, dx\\ &=\frac{2 (b \sec (c+d x))^{3/2} \sin (c+d x)}{3 b d}+\frac{1}{3} \left (\sqrt{\cos (c+d x)} \sqrt{b \sec (c+d x)}\right ) \int \frac{1}{\sqrt{\cos (c+d x)}} \, dx\\ &=\frac{2 \sqrt{\cos (c+d x)} F\left (\left .\frac{1}{2} (c+d x)\right |2\right ) \sqrt{b \sec (c+d x)}}{3 d}+\frac{2 (b \sec (c+d x))^{3/2} \sin (c+d x)}{3 b d}\\ \end{align*}
Mathematica [A] time = 0.0836222, size = 51, normalized size = 0.74 \[ \frac{2 (b \sec (c+d x))^{3/2} \left (\cos ^{\frac{3}{2}}(c+d x) \text{EllipticF}\left (\frac{1}{2} (c+d x),2\right )+\sin (c+d x)\right )}{3 b d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.155, size = 130, normalized size = 1.9 \begin{align*} -{\frac{ \left ( -2+2\,\cos \left ( dx+c \right ) \right ) \left ( \cos \left ( dx+c \right ) +1 \right ) ^{2}}{3\,d \left ( \sin \left ( dx+c \right ) \right ) ^{3}\cos \left ( dx+c \right ) }\sqrt{{\frac{b}{\cos \left ( dx+c \right ) }}} \left ( i\sqrt{ \left ( \cos \left ( dx+c \right ) +1 \right ) ^{-1}}\sqrt{{\frac{\cos \left ( dx+c \right ) }{\cos \left ( dx+c \right ) +1}}}{\it EllipticF} \left ({\frac{i \left ( -1+\cos \left ( dx+c \right ) \right ) }{\sin \left ( dx+c \right ) }},i \right ) \cos \left ( dx+c \right ) \sin \left ( dx+c \right ) -\cos \left ( dx+c \right ) +1 \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b \sec \left (d x + c\right )} \sec \left (d x + c\right )^{2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\sqrt{b \sec \left (d x + c\right )} \sec \left (d x + c\right )^{2}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b \sec{\left (c + d x \right )}} \sec ^{2}{\left (c + d x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b \sec \left (d x + c\right )} \sec \left (d x + c\right )^{2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]